package com.woniu.entity.dto;

public class TestScoreDTO extends Page{
    private  Integer contestId;//考试ID
    private  String userName; //学生名称
    private Double totalScore;//考试成绩
    private Double minScore;//考试成绩
    private Double maxScore;//考试成绩
    private String groupName;//班级名称

    public TestScoreDTO() {
    }

    public TestScoreDTO(Integer contestId, String userName, Double totalScore, Double minScore, Double maxScore, String groupName) {
        this.contestId = contestId;
        this.userName = userName;
        this.totalScore = totalScore;
        this.minScore = minScore;
        this.maxScore = maxScore;
        this.groupName = groupName;
    }

    public Integer getContestId() {
        return contestId;
    }

    public void setContestId(Integer contestId) {
        this.contestId = contestId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Double getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(Double totalScore) {
        this.totalScore = totalScore;
    }

    public Double getMinScore() {
        return minScore;
    }

    public void setMinScore(Double minScore) {
        this.minScore = minScore;
    }

    public Double getMaxScore() {
        return maxScore;
    }

    public void setMaxScore(Double maxScore) {
        this.maxScore = maxScore;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    @Override
    public String toString() {
        return "TestScoreDTO{" +
                "contestId=" + contestId +
                ", userName='" + userName + '\'' +
                ", totalScore=" + totalScore +
                ", minScore=" + minScore +
                ", maxScore=" + maxScore +
                ", groupName='" + groupName + '\'' +
                '}';
    }
}
